dataSource {
    pooled = true

}
hibernate {
    cache.use_second_level_cache = true
    cache.use_query_cache = true
    cache.provider_class = 'net.sf.ehcache.hibernate.EhCacheProvider'
}
// environment specific settings
environments {
	development {
		dataSource {
			dbCreate = "create-drop"
			url = "jdbc:h2:mem:devDb;MVCC=TRUE"
			//loggingSql = "true"
			//logSql = true
		}
	}
	
    test {
        dataSource {
			loggingSql = "true"
			logSql = true
			dbCreate = "update" // one of 'create', 'create-drop','update'
			driverClassName = "oracle.jdbc.driver.OracleDriver"
			url = "url"
			username = "username"
			password = "password"
			dialect = "org.hibernate.dialect.Oracle10gDialect"
        }
    }
    production {
        dataSource {
            dbCreate = "update"
            url = "jdbc:hsqldb:file:prodDb;shutdown=true"
        }
    }
}
